﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects;

namespace DataObjects
{
    public interface ITrafficDao
    {
        Traffic GetTraffic(int TrafficId, int SupplierID);
        List<Traffic> GetTraffic(string sortExpression = "TrafficId ASC");
        void InsertTraffic(Traffic traffic);
        void UpdateTraffic(Traffic traffic);
        void DeleteTraffic(Traffic traffic);
    }
}
